#if !defined(AFX_RECVSOCKET_H__8E559D69_696F_4099_A963_6DBB7DD0F7E2__INCLUDED_)
#define AFX_RECVSOCKET_H__8E559D69_696F_4099_A963_6DBB7DD0F7E2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RecvSocket.h : header file
//


/////////////////////////////////////////////////////////////////////////////
// CRecvSocket command target

class CRecvSocket : public CSocket
{
// Attributes
public:

// Operations
public:
	CRecvSocket();
	virtual ~CRecvSocket();

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRecvSocket)
	//}}AFX_VIRTUAL
	virtual void OnReceive(int nErrorCode);
	virtual void OnClose(int nErrorCode);
	// Generated message map functions
	//{{AFX_MSG(CRecvSocket)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	int recvData(BYTE *pBuff,UINT expectLen);
// Implementation
protected:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RECVSOCKET_H__8E559D69_696F_4099_A963_6DBB7DD0F7E2__INCLUDED_)
